function formatDate(date) {
    return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`
}

function now() {
    return formatDate(new Date())
}

export {formatDate, now}